Returns or sets a value that determines the scrollbar style.
Syntax
object.Scrollbars [= integer]
The Scrollbars property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
integer | A numeric expression that determines the scrollbar appearance, as shown in Settings. |
Settings
Constant | Value | Description |
vbSBNone | 0 | None. |
vbHoriz | 1 | Horizontal scrollbars only. |
vbVert | 2 | (Default) Vertical scrollbars only. |
vbBoth | 3 | Vertical and Horizontal scrollbars. |
vbAuto | 4 | Scrollbars appear when needed. |